Skip to content

Conversation

jessekempf
Copy link
Contributor

https://kafka.apache.org/11/protocol.html#The_Messages_Heartbeat

The V0 heartbeat response looks like:

Heartbeat Response (Version: 0) => error_code 
  error_code => INT16

The V1 heartbeat response looks like:

Heartbeat Response (Version: 1) => throttle_time_ms error_code 
  throttle_time_ms => INT32
  error_code => INT16

This change makes it so that the V1 heartbeat responses no longer have the error code mistakenly reported as a time.Duration.

@jessekempf jessekempf force-pushed the heartbeat-response-field-ordering branch from fe52caf to 7d2b040 Compare June 9, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant